{% macro field(row, lname, label) %}
    <tr>
        <td class="label">
            <label id="l{{ lname }}" for="{{ lname }}">{{ label }}:</label>
        </td>
        <td class="field">
            {{ form_widget(row) }}
        </td>
        <td class="status"></td>
        <td>
            {{ form_errors(row) }}
        </td>
    </tr>
{% endmacro %}

<link rel="stylesheet" type="text/css" media="screen" href="{{ asset('bundles/billing/css/validate.css') }}" />
<script src="{{ asset('bundles/billing/js/jquery.validate.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/billing/js/validate_os.js') }}" type="text/javascript"></script>

<tr>
    <td class="content">
        <div class="wrapper">
                <h1 class="ml">Создание нового счета:</h1>
        </div>
        <div id="add_box">
          <div id="add_wrap">
            <form id="add_form" method="post" action="#">
                <table>
                   {{ _self.field(form.money, 'money', 'Количество денег') }}
                   {{ form_widget(form._token) }}
                <tr>
                    <td>
                    <div class="field">
                        <input name="add_bill" type="submit" value="Создать"/>
                    </div>
                    </td>
                </tr>
                </table>
            </form>
           </div>
        </div>
        <div class="end"></div>
    </td>
</tr>
